<template>
  <!-- <div>
    <el-button type="primary" v-for="(item,key) in routerList" :key="key" @click="goPath(item)">
      {{ item.name }}
    </el-button>
  </div> -->
  <router-view></router-view>
</template>
<script>
import { routerList } from './routeConfig';
export default {
  data() {
    return {
      routerList
    };
  },
  mounted() {
    
  },
  methods: {
    goPath(item){
      this.$router.push(item.path)
    }
  },
};
</script>
<style lang="scss" scope>
</style>
